#//----- set MIO38 output high: --------------------
#// solve 1:
devmem  0xF800012C   32  0x00D00C40 

devmem  0xe000a244   32  0x00000040
devmem  0xe000a248   32  0x00000040
devmem  0xe000a008   32  0xffbf0040

#// solve 2:
echo "944" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio944/direction
echo "1"   > /sys/class/gpio/gpio944/value




#//----- set MIO39 input for interrupt: ------------
echo "945"     > /sys/class/gpio/export
echo "in"      > /sys/class/gpio/gpio945/direction
echo "falling" > /sys/class/gpio/gpio945/edge
#echo "rising" > /sys/class/gpio/gpio945/edge

